package me.zhengjie.modules.domain.enterprise;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.domain.BaseClass;

import java.util.Date;
import java.util.List;

@Data
@TableName("enterprise_legal_action")
public class EnterpriseLegalAction extends BaseClass {

    @ApiModelProperty(value = " 识别号id")
    @TableField(value = "id")
    private Long id;

    @ApiModelProperty(value = " 天眼查ID")
    @TableField(value = "eye_id")
    private Long eyeId;

    @ApiModelProperty(value = " 案件金额")
    @TableField(value = "case_money")
    private String caseMoney;

    @ApiModelProperty(value = " 发布日期")
    @TableField(value = "submit_time")
    private Date submitTime;

    @ApiModelProperty(value = " 文书类型")
    @TableField(value = "doc_type")
    private String docType;

    @ApiModelProperty(value = " 天眼查url（Web）")
    @TableField(value = "lawsuit_url")
    private String lawsuitUrl;

    @ApiModelProperty(value = " 天眼查url（H5）")
    @TableField(value = "lawsuit_h5_url")
    private String lawsuitH5Url;

    @ApiModelProperty(value = " uuid")
    @TableField(value = "uuid")
    private String uuid;

    @ApiModelProperty(value = " 案件名称")
    @TableField(value = "title")
    private String title;

    @ApiModelProperty(value = " 审理法院")
    @TableField(value = "court")
    private String court;

    @ApiModelProperty(value = " 裁判日期")
    @TableField(value = "judge_time")
    private Date judgeTime;

    @ApiModelProperty(value = " 案号")
    @TableField(value = "case_no")
    private String caseNo;

    @ApiModelProperty(value = " 案件类型")
    @TableField(value = "case_Type")
    private String caseType;

    @ApiModelProperty(value = " 案由")
    @TableField(value = "case_reason")
    private String caseReason;

    @ApiModelProperty(value = " 识别号id")
    @TableField(value = "companies_id")
    private Long companiesId;

    @ApiModelProperty(value = " 识别号id")
    @TableField(value = "batch_id")
    private Long batchId;

    private List<EnterpriseLegalPersons> personsList;
}
